from common.Utils import QuestDriver
from tests import QuestLogin
from tests import QuestRegister
from tests import QuestHomePage
from tests import QuestNew

if __name__ == "__main__":
    QuestLogin.QuestLogin().LoginSucTest()

    # home = QuestHomePage.QuestHomePage()
    # home.HomeSucVisit()
    # home.ListSwitch()
    # home.CreateQuestPage()
    # home.CreateExamPage()
    # home.SideberTest()
    edit = QuestNew.QuestNew()
    edit.AddTitle()
    edit.AddSingleText()
    new_elem = edit.AddMulChiose()
    edit.SetSingleChiose(new_elem)
    # new_elem = edit.AddSingleChiose()
    # edit.SetSingleChiose(new_elem)
    # new_elem = edit.AddSingleChiose()
    # edit.SetSingleChiose(new_elem)
    # edit.AddSingleChiose()
    # edit.AddSingleChiose()
    edit.SaveNewQuest()
    QuestDriver.driver.quit()
